#pragma once

#include "cObject.h"
#include "cModelMgr.h"
#include "cAniObject.h"
#include "cUserInterface.h"
#include "cSound.h"

class cUserBullet
{
public:
	std::vector< cObject* > missileArray;

public:
	cUserBullet(void);
	~cUserBullet(void);

	void Create( D3DXVECTOR3 getPosition, const std::string& btype );
	void Update( );
	void ProcessKeyInput( D3DXVECTOR3 getPos, cSound* pSound );
	void Render( bool bBoxDraw );
	void DeleteAll( );
	bool Collision(  cAniObject* Anienemy, cUserInterface* Score );
	void OutscreenDelete( );
	
private:
	double			bfireDealy;
	double			lfireDelay;
	double			bombDelay;	
	DWORD		dwDelay[2];
};
